<script type="text/javascript">
	function tijiao(form, navTabId) {
		var $form = $(form);
		if (form[DWZ.pageInfo.pageNum])
			form[DWZ.pageInfo.pageNum].value = 1;
		$.pdialog.closeCurrent();
		navTab.reload($form.attr('action'), {
			data : $form.serializeArray(),
			navTabId : navTabId
		});
		return false;
	}
</script>
<div class="pageContent">
	<form method="post" action="__URL__" id="pagerForm"
		onsubmit="return tijiao(this,'Contract');">
		<!-- 检索状态 -->
		<input type="hidden"  name="state" value="1"/>
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<p>请输入检索条件：</p>
				
					<p><label>始：</label> <input type="text" name="start"
						class="date" /><a class="inputDateButton" href="javascript:;">选择</a>
					</p>
					<p><label>至：</label> <input type="text" name="end"
						class="date" /><a class="inputDateButton" href="javascript:;">选择</a>
					</p>
				
			</div>
			<div class="divider">divider</div>
			<div class="unit">
				<label style="margin-right: -1px;">合同编号：</label> <input type="text" name="contractno"
					class="lettersonly" />
			</div>
			<p class="unit">
				<label style="margin-right: -10px;">合同类型：</label> <select name="type" class="combox">
					<option value="" selected>--请选择--</option>
					<option value="1">客户合同</option>
					<option value="2">供应商合同</option>
					<option value="3">承运商合同</option>
				</select>
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">合同来源：</label> <select name="businesstype" class="combox">
					<option value="" selected>--请选择--</option>
					<option value="投标合同">投标合同</option>
					<option value="购进合同">购进合同</option>
					<option value="销售合同">销售合同</option>
				</select>
			</p>
			<p class="unit">
				<label style="margin-right: -10px;">客户名称：</label> 
				<select name="secondname" id="secondname"
					class="combox">
					<option value="" selected>请选择(必填)</option>
					<volist name="customer" id="vo">
					<option value="{$vo.customername}">{$vo.customername}</option>
					</volist>
					<volist name="provider" id="vo">
					<option value="{$vo.providername}">{$vo.providername}</option>
					</volist>
				</select>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">开始检索</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="reset">清空重输</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div>
